package com.anzia.demo05;

/**
 *@ClassName TestStudent2
 *@Description
 *@Author Anzia.
 *@Date 2021/4/11 14:12
 *@Version 1.0
 **/
public class TestStudent2 {
    public static void main(String[] args) {
        //Student student1 = new Student("aaa", 20);
        //Student student2 = new Student("bbb", 20);
        //Student student3 = new Student("ccc", 20);
        //Student student4 = new Student("ddd", 20);
        //Student student5 = new Student("eee", 20);

        new Student("aaa", 20);
        new Student("bbb", 20);
        new Student("ccc", 20);
        new Student("ddd", 20);
        new Student("eee", 20);

        //回收垃圾
        System.gc();
        System.out.println("回收垃圾");

    }
}
